package com.cqeec.waimai;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

//让过滤器生效
@ServletComponentScan
@SpringBootApplication
//开启事务注解
@EnableTransactionManagement
public class waimaiApplication {

    public static void main(String[] args) {
        SpringApplication.run(waimaiApplication.class, args);
    }

}
